import axios from "axios";

export default {
  //获取所有的CacheKeys
  getAllCacheKeys(
    params:any
  ): Promise<Common.Res<void>>{
    return axios.get("/api/system/cache/list", params);
  },

  deleteCacheKeys(
    params:any
  ): Promise<Common.Res<void>>{
    return axios.delete("/api/system/cache/delete", {data: params});
  },
}